# create new
[DEFAULT]
# define IP address
my_ip = {{ inventory_hostname }}
rootwrap_config = /etc/cinder/rootwrap.conf
api_paste_confg = /etc/cinder/api-paste.ini
state_path = /var/lib/cinder
auth_strategy = keystone
# RabbitMQ connection info
transport_url = rabbit://openstack:{{ service_password }}@{{ openstack_master_ip }}
enable_v3_api = True
# Glance connection info
glance_api_servers = https://{{ openstack_master_ip }}:9292
# OK with empty value now
enabled_backends = lvm

# MariaDB connection info
[database]
connection = mysql+pymysql://cinder:{{ service_password }}@{{ openstack_master_ip }}/cinder

# Keystone auth info
[service_user]
send_service_user_token = true
auth_url = https://{{ openstack_master_ip }}:5000
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = cinder
password = {{ service_password }}
# if using self-signed certs on Apache2 Keystone, turn to [true]
insecure = true

# Keystone auth info
[keystone_authtoken]
www_authenticate_uri = https://{{ openstack_master_ip }}:5000
auth_url = https://{{ openstack_master_ip }}:5000
memcached_servers = {{ openstack_master_ip }}:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = cinder
password = {{ service_password }}
# if using self-signed certs on Apache2 Keystone, turn to [true]
insecure = true

[oslo_concurrency]
lock_path = $state_path/tmp

[oslo_policy]
enforce_new_defaults = true

[lvm]
target_helper = lioadm
target_protocol = iscsi
target_ip_address = $my_ip
# volume group name created on [1]
volume_group = vg_volume01
volume_driver = cinder.volume.drivers.lvm.LVMVolumeDriver
volumes_dir = $state_path/volumes
